package com.hk.label;

public class NewGameLabel {
	private static NewGameLabel newgamelabel;
	
	LabelBatting battingLab = new LabelBatting();
	LabelBattingBack battingbackLab = new LabelBattingBack(); 
	LabelCardBack cardbackLab = new LabelCardBack();
	LabelDealer dealerLab = new LabelDealer();
	LabelLose loseLab = new LabelLose();
	LabelMoney moneyLab = new LabelMoney();
	LabelMoneyBack moneybackLab = new LabelMoneyBack();
	LabelName nameLab = new LabelName();
	LabelNameBack namebackLab = new LabelNameBack();
	LabelSplitBatting splitbattingLab = new LabelSplitBatting();
	LabelSplitBattingBack splitbattingbackLab = new LabelSplitBattingBack();
	LabelSumCom sumcomLab = new LabelSumCom(); 
	LabelSumSplit sumsplitLab = new LabelSumSplit();
	LabelSumUser sumuserLab = new LabelSumUser();
	LabelWin winLab = new LabelWin();
	LabelWinner winnerLab = new LabelWinner();

	public static NewGameLabel getProcess() {
		if (newgamelabel==null) {	newgamelabel = new NewGameLabel();	}
		return newgamelabel;		
	}

	public void updateLabel() {
		battingLab.UpdateLabel();
		battingbackLab.UpdateLabel();
		cardbackLab.UpdateLabel();
		dealerLab.UpdateLabel();
		loseLab.UpdateLabel();
		moneyLab.UpdateLabel();
		moneyLab.UpdateLabel();
		moneybackLab.UpdateLabel();
		nameLab.UpdateLabel();
		namebackLab.UpdateLabel();
		splitbattingLab.UpdateLabel();
		splitbattingbackLab.UpdateLabel();
		sumcomLab.UpdateLabel();
		sumsplitLab.UpdateLabel();
		sumuserLab.UpdateLabel();
		winLab.UpdateLabel();
		winnerLab.UpdateLabel();
	}
	
	public void setBattingLab(String str) {
		this.battingLab.getLabel().setText(str);;
	}
	public void setBattingbackLab(String str) {
		this.battingbackLab.getLabel().setText(str);
	}
	public void setCardbackLab(String str) {
		this.cardbackLab.getLabel().setText(str);
	}
	public void setDealerLab(String str) {
		this.dealerLab.getLabel().setText(str);
	}
	public void setLoseLab(String str) {
		this.loseLab.getLabel().setText(str);
	}
	public void setMoneyLab(String str) {
		this.moneyLab.getLabel().setText(str);
	}
	public void setMoneybackLab(String str) {
		this.moneybackLab.getLabel().setText(str);
	}
	public void setNameLab(String str) {
		this.nameLab.getLabel().setText(str);
	}
	public void setNamebackLab(String str) {
		this.namebackLab.getLabel().setText(str);
	}
	public void setSplitbattingLab(String str) {
		this.splitbattingLab.getLabel().setText(str);
	}
	public void setSplitbattingbackLab(String str) {
		this.splitbattingbackLab.getLabel().setText(str);
	}
	public void setSumcomLab(String str) {
		this.sumcomLab.getLabel().setText(str);
	}
	public void setSumsplitLab(String str) {
		this.sumsplitLab.getLabel().setText(str);
	}
	public void setSumuserLab(String str) {
		this.sumuserLab.getLabel().setText(str);
	}
	public void setWinLab(String str) {
		this.winLab.getLabel().setText(str);
	}
	public void setWinnerLab(String str) {
		this.winnerLab.getLabel().setText(str);
	}
//	public JLabel getBattingLab() {
//		return battingLab.getLabel();
//	}
//	public JLabel getBattingbackLab() {
//		return battingbackLab.getLabel();
//	}
//	public JLabel getCardbackLab() {
//		return cardbackLab.getLabel();
//	}
//	public JLabel getDealerLab() {
//		return dealerLab.getLabel();
//	}
//	public JLabel getLoseLab() {
//		return loseLab.getLabel();
//	}
//	public JLabel getMoneyLab() {
//		return moneyLab.getLabel();
//	}
//	public JLabel getMoneybackLab() {
//		return moneybackLab.getLabel();
//	}
//	public JLabel getNameLab() {
//		return nameLab.getLabel();
//	}
//	public JLabel getNamebackLab() {
//		return namebackLab.getLabel();
//	}
//	public JLabel getSplitbattingLab() {
//		return splitbattingLab.getLabel();
//	}
//	public JLabel getSplitbattingbackLab() {
//		return splitbattingbackLab.getLabel();
//	}
//	public JLabel getSumcomLab() {
//		return sumcomLab.getLabel();
//	}
//	public JLabel getSumsplitLab() {
//		return sumsplitLab.getLabel();
//	}
//	public JLabel getSumuserLab() {
//		return sumuserLab.getLabel();
//	}
//	public JLabel getWinLab() {
//		return winLab.getLabel();
//	}
//	public JLabel getWinnerLab() {
//		return winnerLab.getLabel();
//	}

	public LabelBatting getBattingLab() {
		return battingLab;
	}

	public LabelBattingBack getBattingbackLab() {
		return battingbackLab;
	}

	public LabelCardBack getCardbackLab() {
		return cardbackLab;
	}

	public LabelDealer getDealerLab() {
		return dealerLab;
	}

	public LabelLose getLoseLab() {
		return loseLab;
	}

	public LabelMoney getMoneyLab() {
		return moneyLab;
	}

	public LabelMoneyBack getMoneybackLab() {
		return moneybackLab;
	}

	public LabelName getNameLab() {
		return nameLab;
	}

	public LabelNameBack getNamebackLab() {
		return namebackLab;
	}

	public LabelSplitBatting getSplitbattingLab() {
		return splitbattingLab;
	}

	public LabelSplitBattingBack getSplitbattingbackLab() {
		return splitbattingbackLab;
	}

	public LabelSumCom getSumcomLab() {
		return sumcomLab;
	}

	public LabelSumSplit getSumsplitLab() {
		return sumsplitLab;
	}

	public LabelSumUser getSumuserLab() {
		return sumuserLab;
	}

	public LabelWin getWinLab() {
		return winLab;
	}

	public LabelWinner getWinnerLab() {
		return winnerLab;
	}
	
}
